package cn.bdqn.service;

import cn.bdqn.pojo.Bill;
import cn.bdqn.pojo.Provider;
import cn.bdqn.util.PageBean;

public interface BillService {
	
	PageBean<Bill> findByPage(int pageNo,int pageSize,String queryProductName,Integer queryProviderId,Integer queryIsPayment);

	Bill findByCode(String billCode);

	boolean updateByBill(Bill bill);

	boolean addBill(Bill bill);

	boolean checkBillCode(String billCode);
	
	int deleteByCode(String billCode);
}
